export const state=()=>({
  draftList:[]
})

export const mutations={
  setdraftList(state,data){
    state.draftList.unshift(data)
  },
  removedraftList(state,i){
    state.draftList.splice(i,1)
  }
}